package com.bdqn.zhang.quartz;

import org.springframework.stereotype.Component;

/**
 * @Author: tao
 * @Description: talk is cheap,show me the code!
 * @Date: create in 2020/11/25 11:18
 */
@Component
public class MyTask {

    int count;

    public void print(){
        System.out.println("执行定时任务" + count++);
    }
}
